package com.beiding.dbrequest.common;

import io.netty.util.concurrent.DefaultThreadFactory;

import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledThreadPoolExecutor;

/**
 * @author 丁常磊
 * @date 2021/7/15 16:20
 */

public class SecondWorker {
    public static ScheduledExecutorService worker = new ScheduledThreadPoolExecutor(Common.availableProcessors(), new DefaultThreadFactory("定时任务"));
}
